package com.lagou.service;

import com.lagou.entity.RpcRequest;
import org.springframework.stereotype.Service;

/**
 * @author zy
 * @version 1.0
 * @date 2021/1/25 23:03
 */
@Service
public class UserServiceImpl implements IUserService {

    // 客户端将要调用的方法
    @Override
    public String sayHello(String msg) {
        System.out.println("are you ok?"+msg);
        return "are you ok?"+msg;
    }

    @Override
    public String getRpcRequest(Object rpcRequest) {
        System.out.println("得到对象rpcRequest："+rpcRequest);
        return "success";
    }

}
